---
layout: "default"
title: "Types"
description: "Documentation for all classes, structs and enums in the Swift language."
root: "/v4.2"
---

<div class="row">
<div class="col-sm-6">
<ul class="main-list">
<li><a href="/v4.2/type/AnyBidirectionalCollection/">AnyBidirectionalCollection</a></li>
<li><a href="/v4.2/type/AnyCollection/">AnyCollection</a></li>
<li><a href="/v4.2/type/AnyHashable/">AnyHashable</a></li>
<li><a href="/v4.2/type/AnyIndex/">AnyIndex</a></li>
<li><a href="/v4.2/type/AnyIterator/">AnyIterator</a></li>
<li><a href="/v4.2/type/AnyKeyPath/">AnyKeyPath</a></li>
<li><a href="/v4.2/type/AnyRandomAccessCollection/">AnyRandomAccessCollection</a></li>
<li><a href="/v4.2/type/AnySequence/">AnySequence</a></li>
<li><a href="/v4.2/type/Array/">Array</a></li>
<li><a href="/v4.2/type/ArraySlice/">ArraySlice</a></li>
<li><a href="/v4.2/type/AutoreleasingUnsafeMutablePointer/">AutoreleasingUnsafeMutablePointer</a></li>
<li><a href="/v4.2/type/Bool/">Bool</a></li>
<li><a href="/v4.2/type/CVaListPointer/">CVaListPointer</a></li>
<li><a href="/v4.2/type/Character/">Character</a></li>
<li><a href="/v4.2/type/Character.UnicodeScalarView/">Character.UnicodeScalarView</a></li>
<li><a href="/v4.2/type/Character.UnicodeScalarView.Index/">Character.UnicodeScalarView.Index</a></li>
<li><a href="/v4.2/type/Character.UnicodeScalarView.Iterator/">Character.UnicodeScalarView.Iterator</a></li>
<li><a href="/v4.2/type/ClosedRange/">ClosedRange</a></li>
<li><a href="/v4.2/type/ClosedRange.Index/">ClosedRange.Index</a></li>
<li><a href="/v4.2/type/CodingUserInfoKey/">CodingUserInfoKey</a></li>
<li><a href="/v4.2/type/CollectionOfOne/">CollectionOfOne</a></li>
<li><a href="/v4.2/type/CommandLine/">CommandLine</a></li>
<li><a href="/v4.2/type/ContiguousArray/">ContiguousArray</a></li>
<li><a href="/v4.2/type/DecodingError/">DecodingError</a></li>
<li><a href="/v4.2/type/DecodingError.Context/">DecodingError.Context</a></li>
<li><a href="/v4.2/type/DefaultIndices/">DefaultIndices</a></li>
<li><a href="/v4.2/type/Dictionary/">Dictionary</a></li>
<li><a href="/v4.2/type/Dictionary.Index/">Dictionary.Index</a></li>
<li><a href="/v4.2/type/Dictionary.Keys/">Dictionary.Keys</a></li>
<li><a href="/v4.2/type/Dictionary.Values/">Dictionary.Values</a></li>
<li><a href="/v4.2/type/DictionaryIterator/">DictionaryIterator</a></li>
<li><a href="/v4.2/type/DictionaryLiteral/">DictionaryLiteral</a></li>
<li><a href="/v4.2/type/Double/">Double</a></li>
<li><a href="/v4.2/type/EmptyCollection/">EmptyCollection</a></li>
<li><a href="/v4.2/type/EmptyCollection.Iterator/">EmptyCollection.Iterator</a></li>
<li><a href="/v4.2/type/EncodingError/">EncodingError</a></li>
<li><a href="/v4.2/type/EncodingError.Context/">EncodingError.Context</a></li>
<li><a href="/v4.2/type/EnumeratedIterator/">EnumeratedIterator</a></li>
<li><a href="/v4.2/type/EnumeratedSequence/">EnumeratedSequence</a></li>
<li><a href="/v4.2/type/FlattenCollection/">FlattenCollection</a></li>
<li><a href="/v4.2/type/FlattenCollection.Index/">FlattenCollection.Index</a></li>
<li><a href="/v4.2/type/FlattenSequence/">FlattenSequence</a></li>
<li><a href="/v4.2/type/FlattenSequence.Iterator/">FlattenSequence.Iterator</a></li>
<li><a href="/v4.2/type/Float/">Float</a></li>
<li><a href="/v4.2/type/Float80/">Float80</a></li>
<li><a href="/v4.2/type/FloatingPointClassification/">FloatingPointClassification</a></li>
<li><a href="/v4.2/type/FloatingPointRoundingRule/">FloatingPointRoundingRule</a></li>
<li><a href="/v4.2/type/FloatingPointSign/">FloatingPointSign</a></li>
<li><a href="/v4.2/type/Hasher/">Hasher</a></li>
<li><a href="/v4.2/type/IndexingIterator/">IndexingIterator</a></li>
<li><a href="/v4.2/type/Int/">Int</a></li>
<li><a href="/v4.2/type/Int.Words/">Int.Words</a></li>
<li><a href="/v4.2/type/Int16/">Int16</a></li>
<li><a href="/v4.2/type/Int16.Words/">Int16.Words</a></li>
<li><a href="/v4.2/type/Int32/">Int32</a></li>
<li><a href="/v4.2/type/Int32.Words/">Int32.Words</a></li>
<li><a href="/v4.2/type/Int64/">Int64</a></li>
<li><a href="/v4.2/type/Int64.Words/">Int64.Words</a></li>
<li><a href="/v4.2/type/Int8/">Int8</a></li>
<li><a href="/v4.2/type/Int8.Words/">Int8.Words</a></li>
<li><a href="/v4.2/type/IteratorOverOne/">IteratorOverOne</a></li>
<li><a href="/v4.2/type/IteratorSequence/">IteratorSequence</a></li>
<li><a href="/v4.2/type/JoinedSequence/">JoinedSequence</a></li>
<li><a href="/v4.2/type/JoinedSequence.Iterator/">JoinedSequence.Iterator</a></li>
<li><a href="/v4.2/type/KeyPath/">KeyPath</a></li>
<li><a href="/v4.2/type/KeyedDecodingContainer/">KeyedDecodingContainer</a></li>
<li><a href="/v4.2/type/KeyedEncodingContainer/">KeyedEncodingContainer</a></li>
<li><a href="/v4.2/type/LazyCollection/">LazyCollection</a></li>
<li><a href="/v4.2/type/LazyDropWhileCollection/">LazyDropWhileCollection</a></li>
<li><a href="/v4.2/type/LazyDropWhileCollection.Index/">LazyDropWhileCollection.Index</a></li>
<li><a href="/v4.2/type/LazyDropWhileSequence/">LazyDropWhileSequence</a></li>
<li><a href="/v4.2/type/LazyDropWhileSequence.Iterator/">LazyDropWhileSequence.Iterator</a></li>
<li><a href="/v4.2/type/LazyFilterCollection/">LazyFilterCollection</a></li>
<li><a href="/v4.2/type/LazyFilterSequence/">LazyFilterSequence</a></li>
<li><a href="/v4.2/type/LazyFilterSequence.Iterator/">LazyFilterSequence.Iterator</a></li>
<li><a href="/v4.2/type/LazyMapCollection/">LazyMapCollection</a></li>
<li><a href="/v4.2/type/LazyMapSequence/">LazyMapSequence</a></li>
<li><a href="/v4.2/type/LazyMapSequence.Iterator/">LazyMapSequence.Iterator</a></li>
<li><a href="/v4.2/type/LazyPrefixWhileCollection/">LazyPrefixWhileCollection</a></li>
<li><a href="/v4.2/type/LazyPrefixWhileCollection.Index/">LazyPrefixWhileCollection.Index</a></li>
<li><a href="/v4.2/type/LazyPrefixWhileSequence/">LazyPrefixWhileSequence</a></li>
<li><a href="/v4.2/type/LazyPrefixWhileSequence.Iterator/">LazyPrefixWhileSequence.Iterator</a></li>
<li><a href="/v4.2/type/LazySequence/">LazySequence</a></li>
<li><a href="/v4.2/type/ManagedBuffer/">ManagedBuffer</a></li>
<li><a href="/v4.2/type/ManagedBufferPointer/">ManagedBufferPointer</a></li>
</ul>
</div>
<div class="col-sm-6">
<ul class="main-list">
<li><a href="/v4.2/type/MemoryLayout/">MemoryLayout</a></li>
<li><a href="/v4.2/type/Mirror/">Mirror</a></li>
<li><a href="/v4.2/type/Mirror.AncestorRepresentation/">Mirror.AncestorRepresentation</a></li>
<li><a href="/v4.2/type/Mirror.DisplayStyle/">Mirror.DisplayStyle</a></li>
<li><a href="/v4.2/type/Never/">Never</a></li>
<li><a href="/v4.2/type/ObjectIdentifier/">ObjectIdentifier</a></li>
<li><a href="/v4.2/type/OpaquePointer/">OpaquePointer</a></li>
<li><a href="/v4.2/type/Optional/">Optional</a></li>
<li><a href="/v4.2/type/PartialKeyPath/">PartialKeyPath</a></li>
<li><a href="/v4.2/type/PartialRangeFrom/">PartialRangeFrom</a></li>
<li><a href="/v4.2/type/PartialRangeFrom.Iterator/">PartialRangeFrom.Iterator</a></li>
<li><a href="/v4.2/type/PartialRangeThrough/">PartialRangeThrough</a></li>
<li><a href="/v4.2/type/PartialRangeUpTo/">PartialRangeUpTo</a></li>
<li><a href="/v4.2/type/PlaygroundQuickLook/">PlaygroundQuickLook</a></li>
<li><a href="/v4.2/type/Random/">Random</a></li>
<li><a href="/v4.2/type/Range/">Range</a></li>
<li><a href="/v4.2/type/ReferenceWritableKeyPath/">ReferenceWritableKeyPath</a></li>
<li><a href="/v4.2/type/Repeated/">Repeated</a></li>
<li><a href="/v4.2/type/ReversedCollection/">ReversedCollection</a></li>
<li><a href="/v4.2/type/ReversedCollection.Index/">ReversedCollection.Index</a></li>
<li><a href="/v4.2/type/ReversedCollection.Iterator/">ReversedCollection.Iterator</a></li>
<li><a href="/v4.2/type/Set/">Set</a></li>
<li><a href="/v4.2/type/Set.Index/">Set.Index</a></li>
<li><a href="/v4.2/type/SetIterator/">SetIterator</a></li>
<li><a href="/v4.2/type/Slice/">Slice</a></li>
<li><a href="/v4.2/type/StaticString/">StaticString</a></li>
<li><a href="/v4.2/type/StrideThrough/">StrideThrough</a></li>
<li><a href="/v4.2/type/StrideThroughIterator/">StrideThroughIterator</a></li>
<li><a href="/v4.2/type/StrideTo/">StrideTo</a></li>
<li><a href="/v4.2/type/StrideToIterator/">StrideToIterator</a></li>
<li><a href="/v4.2/type/String/">String</a></li>
<li><a href="/v4.2/type/String.Index/">String.Index</a></li>
<li><a href="/v4.2/type/String.UTF16View/">String.UTF16View</a></li>
<li><a href="/v4.2/type/String.UTF16View.Index/">String.UTF16View.Index</a></li>
<li><a href="/v4.2/type/String.UTF16View.Indices/">String.UTF16View.Indices</a></li>
<li><a href="/v4.2/type/String.UTF8View/">String.UTF8View</a></li>
<li><a href="/v4.2/type/String.UTF8View.Iterator/">String.UTF8View.Iterator</a></li>
<li><a href="/v4.2/type/String.UnicodeScalarView/">String.UnicodeScalarView</a></li>
<li><a href="/v4.2/type/String.UnicodeScalarView.Iterator/">String.UnicodeScalarView.Iterator</a></li>
<li><a href="/v4.2/type/Substring/">Substring</a></li>
<li><a href="/v4.2/type/Substring.UTF16View/">Substring.UTF16View</a></li>
<li><a href="/v4.2/type/Substring.UTF8View/">Substring.UTF8View</a></li>
<li><a href="/v4.2/type/Substring.UnicodeScalarView/">Substring.UnicodeScalarView</a></li>
<li><a href="/v4.2/type/UInt/">UInt</a></li>
<li><a href="/v4.2/type/UInt.Words/">UInt.Words</a></li>
<li><a href="/v4.2/type/UInt16/">UInt16</a></li>
<li><a href="/v4.2/type/UInt16.Words/">UInt16.Words</a></li>
<li><a href="/v4.2/type/UInt32/">UInt32</a></li>
<li><a href="/v4.2/type/UInt32.Words/">UInt32.Words</a></li>
<li><a href="/v4.2/type/UInt64/">UInt64</a></li>
<li><a href="/v4.2/type/UInt64.Words/">UInt64.Words</a></li>
<li><a href="/v4.2/type/UInt8/">UInt8</a></li>
<li><a href="/v4.2/type/UInt8.Words/">UInt8.Words</a></li>
<li><a href="/v4.2/type/UnboundedRange_/">UnboundedRange_</a></li>
<li><a href="/v4.2/type/UnfoldSequence/">UnfoldSequence</a></li>
<li><a href="/v4.2/type/Unicode/">Unicode</a></li>
<li><a href="/v4.2/type/Unicode.ASCII/">Unicode.ASCII</a></li>
<li><a href="/v4.2/type/Unicode.ASCII.Parser/">Unicode.ASCII.Parser</a></li>
<li><a href="/v4.2/type/Unicode.ParseResult/">Unicode.ParseResult</a></li>
<li><a href="/v4.2/type/Unicode.Scalar/">Unicode.Scalar</a></li>
<li><a href="/v4.2/type/Unicode.Scalar.UTF16View/">Unicode.Scalar.UTF16View</a></li>
<li><a href="/v4.2/type/Unicode.UTF16/">Unicode.UTF16</a></li>
<li><a href="/v4.2/type/Unicode.UTF16.ForwardParser/">Unicode.UTF16.ForwardParser</a></li>
<li><a href="/v4.2/type/Unicode.UTF16.ReverseParser/">Unicode.UTF16.ReverseParser</a></li>
<li><a href="/v4.2/type/Unicode.UTF32/">Unicode.UTF32</a></li>
<li><a href="/v4.2/type/Unicode.UTF32.Parser/">Unicode.UTF32.Parser</a></li>
<li><a href="/v4.2/type/Unicode.UTF8/">Unicode.UTF8</a></li>
<li><a href="/v4.2/type/Unicode.UTF8.ForwardParser/">Unicode.UTF8.ForwardParser</a></li>
<li><a href="/v4.2/type/Unicode.UTF8.ReverseParser/">Unicode.UTF8.ReverseParser</a></li>
<li><a href="/v4.2/type/UnicodeDecodingResult/">UnicodeDecodingResult</a></li>
<li><a href="/v4.2/type/Unmanaged/">Unmanaged</a></li>
<li><a href="/v4.2/type/UnsafeBufferPointer/">UnsafeBufferPointer</a></li>
<li><a href="/v4.2/type/UnsafeBufferPointer.Iterator/">UnsafeBufferPointer.Iterator</a></li>
<li><a href="/v4.2/type/UnsafeMutableBufferPointer/">UnsafeMutableBufferPointer</a></li>
<li><a href="/v4.2/type/UnsafeMutablePointer/">UnsafeMutablePointer</a></li>
<li><a href="/v4.2/type/UnsafeMutableRawBufferPointer/">UnsafeMutableRawBufferPointer</a></li>
<li><a href="/v4.2/type/UnsafeMutableRawPointer/">UnsafeMutableRawPointer</a></li>
<li><a href="/v4.2/type/UnsafePointer/">UnsafePointer</a></li>
<li><a href="/v4.2/type/UnsafeRawBufferPointer/">UnsafeRawBufferPointer</a></li>
<li><a href="/v4.2/type/UnsafeRawBufferPointer.Iterator/">UnsafeRawBufferPointer.Iterator</a></li>
<li><a href="/v4.2/type/UnsafeRawPointer/">UnsafeRawPointer</a></li>
<li><a href="/v4.2/type/WritableKeyPath/">WritableKeyPath</a></li>
<li><a href="/v4.2/type/Zip2Sequence/">Zip2Sequence</a></li>
<li><a href="/v4.2/type/Zip2Sequence.Iterator/">Zip2Sequence.Iterator</a></li>
</ul>
</div>
</div>
